﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Mage
    {
        public bool arcaneCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (arcanePVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (arcaneDungeonCombat())
                    return true;
            }
            else
            {
                if (arcaneQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool arcaneHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (arcanePVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (arcaneDungeonHeal())
                    return true;
            }
            else
            {
                if (arcaneQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool arcaneBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (arcanePVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (arcaneDungeonBuff())
                    return true;
            }
            else
            {
                if (arcaneQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool arcanePullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (arcanePVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (arcaneDungeonPullSpell())
                    return true;
            }
            else
            {
                if (arcaneQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
